import { createConvexVue } from '@convex-vue/core';
import { boot } from 'quasar/wrappers';

export default boot(({ app }) => {
  console.log('Convex boot file loaded', import.meta.env.VITE_CONVEX_URL);

  const convexVue = createConvexVue({
    convexUrl: import.meta.env.VITE_CONVEX_URL || 'http://127.0.0.1:3210',
  });
  app.use(convexVue);
});
